package com.voice.server.input;

import com.wangjiacai.utils.web.validator.Phone;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class LoginRequest {

    /*密码*/
    @NotBlank(message = "密码不能为空")
    private String password;

    /*手机号*/
    @NotBlank(message = "手机号不能为空")
    @Phone
    private String phone;
}
